package demo2;

import demo.Testdemo;

public class One extends Testdemo {

    public void test(){
        System.out.println(a);
        System.out.println(this.a);
        System.out.println(super.a);

    }
    public static void main(String[] args) {
        One one = new One();
        System.out.println(one.a);
        one.test();

    }
}
class Teacher{

}
class Student{

}
class School{
    //一个学校有很多老师和很多学生组成
    public Teacher[] teacher;
    public Student[] student;
}
